package com.guigu.liuyunan.mapper;

import com.guigu.liuyunan.pojo.LYNPageVo;
import com.guigu.liuyunan.pojo.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {

    // liuyunan
    int deleteByPrimaryKey(Integer id);
    int insert(Order record);
    int insertSelective(Order record);
    Order selectByPrimaryKey(Integer id);
    int updateByPrimaryKeySelective(Order record);
    int updateByPrimaryKey(Order record);
    List<Order> OrderInfo(LYNPageVo LYNPageVo);
    int orderUp(Order order);
    int orderQX(Order order);
    Order OrderDate(Order order);

    //tankai
    int tankaiUp(Order record);
    List<Order> tkfont();
    List<Order> tkcount();
    List<Order> tkcounto();
    List<Order> tanyyrscha(@Param("startDate") String startDate, @Param("endDate") String endDate);
    List<Order> tkbgsccha(@Param("startDate") String startDate, @Param("endDate") String endDate);


    // wenzhiyi
    Order cha(Integer oid);

}